	/**
		* Hiding/Showing the side menu
		*/
		menu_state='shown';
		function switch_menu()
		{
			var menu = document.getElementById('menu');
			var main = document.getElementById('main');
			var toggle = document.getElementById('toggle');
			var handle = document.getElementById('toggle-handle');
		
			switch (menu_state)
			{
				// hide
				case 'shown':
					main.style.width = '93%';
					menu_state = 'hidden';
					menu.style.display = 'none';
					toggle.style.width = '20px';
					handle.style.backgroundImage = 'url(/media_relation/pro/media/styles/default/images/toggle.gif)';
					handle.style.backgroundRepeat = 'no-repeat';
		
					
						handle.style.backgroundPosition = '100% 50%';
						toggle.style.left = '0';
					
				break;
		
				// show
				case 'hidden':
					main.style.width = '76%';
					menu_state = 'shown';
					menu.style.display = 'block';
					toggle.style.width = '5%';
					handle.style.backgroundImage = 'url(/media_relation/pro/media/styles/default/images/toggle.gif)';
					handle.style.backgroundRepeat = 'no-repeat';
		
					
						handle.style.backgroundPosition = '0% 50%';
						toggle.style.left = '15%';
					
				break;
			}
		}